package com.boang.entity.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Schema(description = "用户登录成功后的数据对象")
public class LoginRes {

    @Schema(description = "用户id")
    private String userId;

    @Schema(description = "用户名")
    private String userName;

    @Schema(description = "token")
    private String token;

    @Schema(description = "用户创建时间")
    private LocalDateTime gmtCreate;

    @Schema(description = "用户更新时间")
    private LocalDateTime gmtModified;
}